package com.situ.mall.service;


import com.situ.mall.pojo.Product;
import com.situ.mall.pojo.query.ProductQuery;
import com.situ.mall.util.JSONResult;
import com.situ.mall.util.LayUITableJSONResult;

public interface IProductService {
    LayUITableJSONResult selectByPage(ProductQuery productQuery);
    JSONResult deleteById(Integer id);
    JSONResult deleteAll(Integer[] ids);
    JSONResult add(Product product);
    Product selectById(Integer id);
    JSONResult update(Product product);
}
